import http from "@/utils/request.js"
// 用户
export const loginApi = (username,password)=>{
    console.log('api',username,password)
    return http.post('/api/auth/login',{
        username,
        password
    })
    return http.post('/972a96c5-fd06-4ad1-9ab7-d44501b280bc/login?apipost_id=84f4fa',{
        username,
        password
    })
}
// 退出登录
// export const loginOuApi = ()=>{
//     return axios.post('/972a96c5-fd06-4ad1-9ab7-d44501b280bc/login?apipost_id=c0dec1')
// }
export const loginOuApi = ()=>{
    return axios.post('/auth/logout')
}
